<!-- right-->
  <div class="member-main">
  <div>
<div class="errorMsg">
    <ul>
    <{foreach from=$errorMsg item=item key=key}>
        <li><{$item}></li>
    <{/foreach}>
    </ul>
</div>
<form action="<{link app=b2c ctl="site_member" act="download_ddvanceLog"}>" method="post" target='_blank'>
<div class="title"><{t}>我的预存款<{/t}></div>
</form>
<p class="admin-title"><{t}>您当前的预存款余额为：<{/t}><span class="point pr5"><{$total|cur}></span>|<a href="<{link app=b2c ctl=site_member act=deposit}>" class="font-blue pl5"><{t}>预存款充值 >><{/t}></a></p>
<form action="<{link app=b2c ctl="site_member" act="download_ddvanceLog"}>" method="post" target='_blank' id="downloadform">
<div class="title-bg"><div><span style="float:left"><{t}>预存款交易记录：<{/t}></span><span class="icon3"><a href="javascript:void(0);" onclick="$('downloadform').submit();" style="color:#367EC1" class="member-btn-bj operate-btn"><i class="has-icon"> <img src='<{$env.app.res_url}>/bundle/down-icon.gif' /></i><span><{t}>下载交易记录<{/t}></span></a></span></div></div>
</form>
<table class="gridlist border-all" width="100%" cellpadding="3" cellspacing="0">
<thead>
<tr>
<th class="first"><{t}>时间<{/t}></th>
  <th><{t}>事件<{/t}></th>
  <th><{t}>存入金额<{/t}></th>
  <th><{t}>支出金额<{/t}></th>
  <th><{t}>当前余额<{/t}></th>
</tr>
</thead>
<tbody>
<{if count($advlogs)>0}>
<{foreach from=$advlogs item=adv}>
<tr>
 <td align="center"><{$adv.mtime|cdate:FDATE_STIME}></td>
  <td align="center">
  <{if $adv.order_id}>
  <a href="<{link app="b2c" ctl="site_member" act="orderdetail" arg0=$adv.order_id}>"><{$adv.message}></a>
  <{else}>
  <{$adv.message}>
  <{/if}>
  </td>
  <td class="textcenter font-orange"><{if $adv.import_money > 0}><{$adv.import_money|cur}><{else}>-<{/if}></td>
  <td class="textcenter"><{if $adv.explode_money > 0}><{$adv.explode_money|cur}><{else}>-<{/if}></td>
  <td class="fontbold textcenter font-red"><{$adv.member_advance|cur}></td>
 </tr>
<{/foreach}>
<{else}>
<tr>
<td height="60" colspan="6">
  <{t}>尚无交易历史<{/t}>
</td>
</tr>
<{/if}>
</tbody>
</table>

<{pagers data=$pager}>

  </div>
  </div>
<!-- right-->
